
pkgname=dejagnu
pkgver=1.6.1
pkgrel=1
pkgdesc="Framework for testing other programs"
arch=('x86_64')
url="https://www.gnu.org/software/dejagnu/"
license=('GPL')
depends=('sh' 'expect')
makedepends=('dejagnu')
options=('!libtool')
source=("https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz")
md5sums=('2ac8405a4c7ca8611d004fe852966c6f')


build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr
  make
}

check() {
  cd ${pkgname}-${pkgver}
  make check
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir}/ install
}
